#文件的复制
'''
with 结合open使用
'''
with open('aa.txt','rb') as stream:
    container = stream.read()

    with open('aacopy.txt','wb') as wstream:
        wstream.write(container)

print('文件复制完成！')
'''
open针对文件而非文件夹
当有多个文件时，引入os模块
'''